package com.gary.demo.biz;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gary.demo.entity.Goods;
import com.gary.demo.model.param.GoodsOperateParam;
import com.gary.demo.model.param.GoodsQueryParam;

public interface GoodsBO {

    Integer add(GoodsOperateParam param);

    void update(GoodsOperateParam param);

    Goods getById(Integer id);

    IPage<Goods> pageQuery(GoodsQueryParam param);
}
